<?php

abstract class Cat_Crawler_Base extends Cat_ParamHolder implements Cat_Crawler_Interface
{
	private $compiler = null;
	
	function getCompiler()
	{
		return $this->compiler;
	}
	
	function setCompiler(  Cat_Compiler $compiler  )
	{
		$this->compiler = $compiler;
	}

	private $processors = array();
	
	function addProcessor( Cat_Processor_Interface $processor )
	{
		$processor->setCrawler( $this );
		$this->processors[] = $processor;
	}
	
	function getProcessors()
	{
		return $this->processors;
	}
}

?>